org.eclipse.vtp.desktop.projects.core.internals.event
Class ObjectEvent

java.lang.Object
  extended by org.eclipse.vtp.desktop.projects.core.internals.event.ObjectEvent
Direct Known Subclasses:
ObjectRefreshEvent, ReloadObjectDataEvent

public class ObjectEvent
extends java.lang.Object

This is the base class for all events generated by the openVXML project object model.

Version:
2.0
Author:
Trip Gilman

Field Summary
protected  java.lang.String objectId
          The unique identifier for the source of the event.
protected  long time
          The timestamp of when the event was created.
 
Constructor Summary
ObjectEvent(java.lang.String objectId)
          Creates a new ObjectEvent with the given object id.
 
Method Summary
 java.lang.String getObjectId()
           
 long getTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectId

protected final java.lang.String objectId
The unique identifier for the source of the event.


time

protected final long time
The timestamp of when the event was created.

Constructor Detail

ObjectEvent

public ObjectEvent(java.lang.String objectId)
Creates a new ObjectEvent with the given object id. The timestamp is automatically set upon creation.

Parameters:
objectId - The unique identifier of the source object
Method Detail

getObjectId

public java.lang.String getObjectId()
Returns:
The unique identifier of the source object

getTime

public long getTime()
Returns:
The timestamp of the creation of this event